package com.lagou.service;

import org.springframework.stereotype.Service;

@Service
public interface UserService {

    boolean register(String email, String password);

    boolean isRegistered(String email);

    String login(String email, String password);

    String createToken(String email);

    String info(String token);

    boolean checkPassword(String email, String password);

}
